package com.ruoyi.recycle.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.recycle.domain.CommodityRepertory;
import com.ruoyi.recycle.domain.CommoditySizeConfig;
import com.ruoyi.recycle.domain.IntegralCommoditySize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 积分商品对象 integral_commodity
 * 
 * @author Wubk
 * @date 2022-05-22
 */
@ApiModel("积分商品对象新增入参")
@Data
@NoArgsConstructor
public class IntegralCommodityVO
{

    /** 主键ID */
    @ApiModelProperty(name = "id",value = "积分商品id",dataType = "Long")
    private Long id;

    /** 商品名 */
    @Excel(name = "商品名")
    @ApiModelProperty(name = "commodityName",value = "商品名",dataType = "String")
    private String commodityName;

    /** 海报 */
    @Excel(name = "海报")
    @ApiModelProperty(name = "img",value = "海报",dataType = "String")
    private String poster;

    /** 积分 */
    @Excel(name = "积分")
    @ApiModelProperty(name = "integral",value = "积分",dataType = "Long")
    private Long integral;

    /** 积分兑换金额 */
    @Excel(name = "积分兑换金额")
    @ApiModelProperty(name = "integralMoney",value = "积分兑换金额",dataType = "BigDecimal")
    private BigDecimal integralMoney;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty(name = "remark",value = "备注",dataType = "String")
    private String remark;

    /** 商品详情 */
    @Excel(name = "商品详情")
    @ApiModelProperty(name = "details",value = "商品详情",dataType = "String")
    private String details;

    /** 兑换方式(1纯积分，2积分+现金) */
    @Excel(name = "兑换方式(1纯积分，2积分+现金)")
    @ApiModelProperty(name = "exchangeType",value = "兑换方式(1纯积分，2积分+现金)",dataType = "String")
    private String exchangeType;

    /** 创建人 */
    @Excel(name = "创建人")
    @ApiModelProperty(name = "createdBy",value = "创建人",dataType = "String")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(name = "createdTime",value = "创建时间",dataType = "Date",notes = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    @ApiModelProperty(name = "updatedBy",value = "更新人",dataType = "String")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(name = "updatedTime",value = "更新时间",dataType = "Date",notes = "yyyy-MM-dd")
    private Date updatedTime;

    /** 商品分类 */
    @Excel(name = "商品分类")
    @ApiModelProperty(name = "type",value = "商品分类",dataType = "String")
    private String type;

    /** 直接购买金额 */
    @Excel(name = "直接购买金额")
    @ApiModelProperty(name = "directMoney",value = "直接购买金额",dataType = "BigDecimal")
    private BigDecimal directMoney;

    /** 原价 */
    @Excel(name = "原价")
    @ApiModelProperty(name = "originalCost",value = "原价",dataType = "BigDecimal")
    private BigDecimal originalCost;

    /** 删除规格/尺寸ID集合 */
    @Excel(name = "删除规格/尺寸ID集合")
    @ApiModelProperty(name = "deleteSizeList",value = "删除规格/尺寸ID集合（delete使用）",dataType = "Long")
    private List<Long> deleteSizeList;

    /** 规格/尺寸 对象集合 */
    @Excel(name = "规格/尺寸 对象集合")
    @ApiModelProperty(name = "deleteSizeList",value = "规格/尺寸 对象集合",dataType = "Long")
    private List<CommoditySizeConfig> commoditySizeConfigList;


}
